package com.hfut.se.zhisms;

import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;
import android.widget.TextView;

public class DefaultReminder extends AppCompatActivity {

    // Key in the intent.
    public static final String TIP = "tip";

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_default_reminder);

        String tip = getIntent().getStringExtra(TIP);

        TextView text = (TextView) findViewById(R.id.textView);
        text.setText(tip);
    }
}
